package com.pro_one.pojo;

import java.io.Serializable;

public class Exercise implements Serializable {
    private Integer id;
    private String number;//序号
    private String code;//编号
    private String name;//运动名称
    private String runduration;// 运动时间
    private String  frequency;//运动次数
    private String intensity;//强度
    private String minage;//最小年龄
    private String maxage;//最大年龄
    private String part;//运动部位
    private String motion;//动作
    private String kcal;//消耗热量
    private String kj;//消耗的能量
    public Exercise() {
    }

    public Exercise(String number, String code, String name, String runduration, String frequency, String intensity, String minage, String maxage,String part, String motion, String kcal, String kj ) {
        this.number = number;
        this.code = code;
        this.name = name;
        this.runduration = runduration;
        this.frequency = frequency;
        this.intensity = intensity;
        this.minage = minage;
        this.maxage = maxage;
        this.part = part;
        this.motion = motion;
        this.kcal = kcal;
        this.kj = kj;
    }

    public Exercise(Integer id, String number, String code, String name, String runduration, String frequency, String intensity, String minage, String maxage, String kcal, String kj, String part, String motion) {

        this.id = id;
        this.number = number;
        this.code = code;
        this.name = name;
        this.runduration = runduration;
        this.frequency = frequency;
        this.intensity = intensity;
        this.minage = minage;
        this.maxage = maxage;
        this.kcal = kcal;
        this.kj = kj;
        this.part = part;
        this.motion = motion;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRunduration() {
        return runduration;
    }

    public void setRunduration(String runduration) {
        this.runduration = runduration;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public String getIntensity() {
        return intensity;
    }

    public void setIntensity(String intensity) {
        this.intensity = intensity;
    }

    public String getMinage() {
        return minage;
    }

    public void setMinage(String minage) {
        this.minage = minage;
    }

    public String getMaxage() {
        return maxage;
    }

    public void setMaxage(String maxage) {
        this.maxage = maxage;
    }

    public String getKcal() {
        return kcal;
    }

    public void setKcal(String kcal) {
        this.kcal = kcal;
    }

    public String getKj() {
        return kj;
    }

    public void setKj(String kj) {
        this.kj = kj;
    }

    public String getPart() {
        return part;
    }

    public void setPart(String part) {
        this.part = part;
    }

    public String getMotion() {
        return motion;
    }

    public void setMotion(String motion) {
        this.motion = motion;
    }

    @Override
    public String toString() {
        return "Exercise{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", runduration='" + runduration + '\'' +
                ", frequency='" + frequency + '\'' +
                ", intensity=" + intensity +
                ", minage=" + minage +
                ", maxage=" + maxage +
                ", kcal='" + kcal + '\'' +
                ", kj='" + kj + '\'' +
                ", part='" + part + '\'' +
                ", motion='" + motion + '\'' +
                '}';
    }
}
